package com.photographysharing.dto;

import com.photographysharing.entity.Photos;

public class PhotoDTO extends Photos {

    private String userName;
    private String userAvatar;
    private String categoryName;
    private Integer likeCount;

    public void setCount(int likeCount,int watchCount,int starCount){
        setLikeCount(likeCount);
        setWatchCount(watchCount);
        setStarCount(starCount);
    }

    public Integer getLikeCount() {
        return likeCount;
    }

    public void setLikeCount(Integer likeCount) {
        this.likeCount = likeCount;
    }

    public Integer getWatchCount() {
        return watchCount;
    }

    public void setWatchCount(Integer watchCount) {
        this.watchCount = watchCount;
    }

    public Integer getStarCount() {
        return starCount;
    }

    public void setStarCount(Integer starCount) {
        this.starCount = starCount;
    }

    private Integer watchCount;

    private Integer starCount;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserAvatar() {
        return userAvatar;
    }

    public void setUserAvatar(String userAvatar) {
        this.userAvatar = userAvatar;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }
}
